﻿

namespace Mulala.Cavan.Domain.MainBoundedContext.MulalaModule
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Mulala.Cavan.Domain.Seedwork;
    using Mulala.Cavan.Domain.MainBoundedContext.ProprietorModule;
    using Mulala.Cavan.Domain.MainBoundedContext.CorporationModule;
    using Mulala.Cavan.Domain.MainBoundedContext.NannyModule;
    using Mulala.Cavan.Domain.MainBoundedContext.SecurityModule;
    using Mulala.Cavan.Domain.MainBoundedContext.DictionaryModule;

    public interface IRegistrationService
    {
        ProprietorRegistrationResult RegisterProprietor(
                                                string name,
                                                string password,
                                                string email,
                                                Area area,
                                                IList<Role> roles);

        CorporationRegistrationResult RegisterCorporation(
                                                    string name,
                                                    string password,
                                                    string email,
                                                    Area area,
                                                    IList<Role> roles);

        NannyRegistrationResult RegisterNanny(
                                        string name,
                                        string password,
                                        string email,
                                        Area area,
                                        IList<Role> roles,
                                        Corporation corporation);
    }
}
